export default {
    add(state){
        state.count ++ ,
        localStorage.setItem("vuex-count",JSON.stringify(state))
    },
    addN(state,{n}){
        state.count += n,
        localStorage.setItem("vuex-count",JSON.stringify(state))
    },
    setMovieList(state,movie){
        state.movieList = movie,
        localStorage.setItem("vuex-count",JSON.stringify(state))
    }
}